import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-test-page',
  templateUrl: './test-page.page.html',
  styleUrls: ['./test-page.page.scss'],
})
export class TestPagePage implements OnInit {
   public list:any = [];
  constructor() { }

  alertInfo(item,i){
    alert("item  "+item+"  i "+i)
  }

  ngOnInit() {
    for (let i = 0 ; i < 20 ; i++){
      this.list.push("数据"+i);
    }
  }



}
